package com.cgb2110.serve.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cgb2110.serve.pojo.Employee;
import com.cgb2110.serve.pojo.RespBean;
import com.cgb2110.serve.pojo.RespPageBean;
import io.swagger.models.auth.In;

import javax.swing.*;
import java.time.LocalDate;
import java.util.List;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Larry
 * @since 2021-12-20
 */
public interface IEmployeeService extends IService<Employee> {

    RespPageBean getEmployeeByPage(Integer currentPage, Integer size, Employee employee, LocalDate... localDates);

    RespBean maxWordID();

    RespBean addEmp(Employee employee);

    List<Employee> getEmployee(Integer id);

    RespBean getEmployeeWithSalary(Integer currentPage, Integer size);
}
